<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    function func_one(name) {
        var data = name + "喜欢打篮球"
        return data
    }

    data = func_one("张三");
    document.write(data)


</script>


</body>
</html>